package summer_vacation.lvchang.myyVacation;
import java.util.Scanner;

/**
 * Created by Administrator on 2015/9/6.
 */
public class Text31 {
    public static void main(String[] args) {
        int a;
        int b;
        Scanner s = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        a=s.nextInt();
        System.out.println("再输入一个整数：");
        b=s.nextInt();
        int i = a*a + b*b;
        int j = a + b;
     if(i>100){
         System.out.println(i);
     }else{
         System.out.println(j);
     }
    }
}
